﻿@model DiarySocial.ViewModels.GetCommentsVM
@foreach (var c in Model.Comments)
{
    <article id="chat-id-@c.Id" class="chat-item left">
        <a href="#" class="pull-left thumb-sm avatar"><img src="~/Images/avatar.png"></a>
        <section class="chat-body">
            <div class="panel b-light text-sm m-b-none">
                <div class="panel-body">
                    <span class="arrow left"></span>
                    <p class="m-b-none">
                        <a href="#">@c.CommentAuthor.Name</a>
                        <span>: </span>
                        @c.Text
                    </p>
                </div>
            </div>
            <small class="text-muted"><i class="fa fa-ok text-success"></i> @MyHelpers.DisplayTime(@c.Time)</small>
        </section>
    </article>
}